package com.hanter.android.radlib.popup;

import android.view.View;
import android.widget.PopupWindow;

import com.hanter.android.radlib.compat.MyPopupWindowCompat;

public class FxiedPopupWindow extends PopupWindow {

    @Override
    public void showAsDropDown(View anchor) {
        MyPopupWindowCompat.showAsDropDown(this, anchor, 0, 0);
    }

    @Override
    public void showAsDropDown(View anchor, int xoff, int yoff) {
        MyPopupWindowCompat.showAsDropDown(this, anchor, xoff, yoff);
    }

    public void dim() {
        MyPopupWindowCompat.dim(this);
    }

    public void dim(int dimAmount) {
        MyPopupWindowCompat.dim(this, dimAmount);
    }

}
